Karl Benedict - Director of Research Data Services, College of University Libraries and Learning Sciences
University of New Mexico
kbene@unm.edu
In [2]:
# from http://blog.nextgenetics.net/?e=102
HTML('''<script>
code_show=true;
function code_toggle() {
if (code_show){
$('div.input').hide();
} else {
$('div.input').show();
}
code_show = !code_show
}
$( document ).ready(code_toggle);
</script>
The raw code for this IPython notebook is by default hidden for easier reading.
To toggle on/off the raw code, click <a href="javascript:code_toggle()">here</a>.''')
Out[2]:
In [1]:
from IPython.display import HTML
from IPython.display import Image
In [ ]: